<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
</head>
<style>
    html,
    body {
        background-color: #fff;
    }

    .placeholder_div {
        background-color: #fbf9f9;
    }

    .welcome_word {
        padding: 0 1rem;
    }

    .welcome_word_item {
        width: 100%;
        height: 2.5rem;
        line-height: 2.5rem;
        border-bottom: 1px solid #E8E8E8;
        color: #565656;
        font-size: 0.7rem;
    }

    .zidingyi_add {
        width: 13.75rem;
        margin: 4rem 0 0 2.5rem;
        background-color: #2780e8;
        color: #fff;
        font-size: 0.7rem;
        height: 2rem;
        line-height: 2rem;
        border-radius: 0.5rem;
        text-align: center;
    }
</style>

<body>
    <div  id="app" v-cloak>
        <div class="placeholder_div"></div>

        <div class="welcome_word">
            <div class="welcome_word_item" v-for="item in welcome">
                {{item}}
            </div>
        </div>

        <div class="zidingyi_add">自定义添加</div>

        <div style="height: 2rem;width: 100%;"></div>
    </div>
</body>

</html>
<script src="../script/set_root.js"></script>

<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/zepto.min.js"></script>
<script type="text/javascript" src="../script/hb.js"></script>
<script type="text/javascript" src="../script/vue.js"></script>
<script type="text/javascript">
    apiready = function () {
        hb_ready();
    }
    //使用vue对数据进行绑定
    var app = new Vue({
        el: '#app',
        data: {
            welcome: ["你好我是您的专属医生，请有什么提问", "亲，我是您的专属医生"]
        },
        methods: {

        },

    })
</script>
